<%--
  Created by IntelliJ IDEA.
  User: 123
  Date: 2021/9/23
  Time: 16:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <title>用户操作界面</title>
    <style type="text/css">
        a {
            text-decoration: none;
            color: black;
            font-size: 18px;
        }
        h3 {
            width: 180px;
            height: 38px;
            margin: 100px auto;
            text-align: center;
            line-height: 38px;
            background: deepskyblue;
            border-radius: 4px;
        }
        h5{
            width: 180px;
            height: 38px;
            margin: 100px auto;
            text-align: center;
            line-height: 38px;
            border-radius: 4px;
        }
    </style>

</head>
<body>
<script type="text/javascript">
    function logout()
    {
        if(confirm("确定要退出系统吗？"))
        {
            window.parent.location="${pageContext.request.contextPath}/exit";
        }
    }
</script>
                     <h3>请选择您的操作</h3>
<h5>
<%--    <input type="hidden" name="userId" value="${userId}">--%>
<%--    <input type="hidden" name="userName" value="${userName}">--%>
    <a href="${pageContext.request.contextPath}/inquiry?userId=${userId}">查询</a><br>
    <a href="${pageContext.request.contextPath}/deposit">存款</a><br>
    <a href="${pageContext.request.contextPath}/withdrawals">取款</a><br>
    <a href="${pageContext.request.contextPath}/transfer">转账</a><br>
    <a href="${pageContext.request.contextPath}/exit" onclick="logout()">退出系统</a>
</h5>
</body>
</html>